import request from '@/utils/request'

// 添加/修改-用户个性设置数据API（post）/company/privateSet/adupPrivateSet
export const adupPrivateSet = (data) => request.post('/company/privateSet/adupPrivateSet', data)

// 获取-用户个性设置数据列表API（post）/company/privateSet/getPrivateSetList
export const getPrivateSetList = (data) => request.post('/company/privateSet/getPrivateSetList', data)

// 获取员工分页列表/company/staffCenter/findStaffList
export const findStaffList = (data) => request.post('/company/staffCenter/findStaffList', data)

//添加员工/company/staffCenter/addStaff
export const addStaff = (data) => request.post('/company/staffCenter/addStaff', data)

//获取-托管给我车队下拉框搜索/company/serviceCenter/findTrusteeshipMeCombo
export const findTrusteeshipMeCombo = (data) => request.post('/company/serviceCenter/findTrusteeshipMeCombo', data)

//删除员工/company/staffCenter/delStaff
export const delStaff = (data) => request.post('/company/staffCenter/delStaff', data)

//获取-所有单位部门-列表/company/menu/findAllDeptList
export const findAllDeptList = (data) => request.post('/company/menu/findAllDeptList', data)

//获取-单位部门角色-列表/company/menu/getRoleList
export const getRoleList = (data) => request.post('/company/menu/getRoleList', data)

//获取员工列表下拉框/company/staffCenter/findStaffCombo
export const findStaffCombo = (data) => request.post('/company/staffCenter/findStaffCombo', data)

//后台操作员工离职/company/staffCenter/staffLeave
export const staffLeave = (data) => request.post('/company/staffCenter/staffLeave', data)

//导出员工列表/company/staffCenter/staffExport
export const staffExport = (data) => request.post('/company/staffCenter/staffExport', data)

//通过id获取员工信息/company/staffCenter/findStaffById
export const findStaffById = (data) => request.post('/company/staffCenter/findStaffById', data)

//修改员工company/staffCenter/modifyStaff
export const modifyStaff = (data) => request.post('/company/staffCenter/modifyStaff', data)

//获取请假分页列表/company/staffCenter/findLelList
export const findLelList = (data) => request.post('/company/staffCenter/findLelList', data)

//获取请假类型下拉框/company/sysManage/findLeaveTypeCombo
export const findLeaveTypeCombo = (data) => request.post('/company/sysManage/findLeaveTypeCombo', data)

//添加/修改请假记录/company/staffCenter/adupLel
export const adupLel = (data) => request.post('/company/staffCenter/adupLel', data)

//删除请假申请/company/staffCenter/delLel
export const delLel = (data) => request.post('/company/staffCenter/delLel', data)

//获取驾驶员下拉框/company/staffCenter/getDriverList
export const getDriverList = (data) => request.post('/company/staffCenter/getDriverCombo', data)

//处理请假申请【该接口在审核通过时未选择顶班驾驶员才请求】/company/staffCenter/checkLeave
export const checkLeave = (data) => request.post('/company/staffCenter/checkLeave', data)

//请假记录提前销假/company/staffCenter/cancelBefore
export const cancelBefore = (data) => request.post('/company/staffCenter/cancelBefore', data)

//顶班驾驶员设置提交【该接口在审核通过时选择了顶班驾驶员才请求】/company/staffCenter/selinaDriver
export const selinaDriver = (data) => request.post('/company/staffCenter/selinaDriver', data)

//员工设置可查看的银行帐金额类型/company/staffCenter/seeMoneyType
export const seeMoneyType = (data) => request.post('/company/staffCenter/seeMoneyType', data)

//获取金额类型下拉框（/company/sysManage/findMtypeCombo）
export const findMtypeCombo = (data) => request.post('/company/sysManage/findMtypeCombo', data)

//设置/取消业务员/company/staffCenter/serviceManSet
export const serviceManSet = (data) => request.post('/company/staffCenter/serviceManSet', data)

//车辆违章事故分页列表数据(/company/safetyCenter/getCompanyVehiclePages)
export const findVehicleAbnormalityList = (data) => request.post('/company/safetyCenter/findVehicleAbnormalityList', data)

//获取车牌号下拉框(/company/safetyCenter/findCarCombo)
export const findCarCombo = (data) => request.post('/company/safetyCenter/findCarCombo', data)

//获取驾驶员下拉框/company/staffCenter/getDriverCombo
export const getDriverCombo = (data) => request.post('/company/staffCenter/getDriverCombo', data)

//添加/修改违章事故
export const adupVehicleAbnormality = (data) => request.post('/company/safetyCenter/adupVehicleAbnormality', data)

//获取文件类型（/common/getFileType）
export const getFileType = (data) => request.post('/common/getFileType', data)

//删除违章事故
export const delVehicleAbnormality = (data) => request.post('/company/safetyCenter/delVehicleAbnormality', data)

//根据id获取违章事故详情
export const getVehicleAbnormalityById = (data) => request.post('/company/safetyCenter/getVehicleAbnormalityById', data)

//审核违章事故
export const checkAbnormality = (data) => request.post('/company/safetyCenter/checkAbnormality', data)
